From 96d39d7654812b085d86b09cfe25b805adce4591 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 30 Nov 2006 16:32:24 +0000 Subject: [PATCH] [XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash image then we should return to the caller who will either restart the machine as normal or continue on as appropriate. Signed-off-by: Ian Campbell --- xen/common/kexec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/common/kexec.c b/xen/common/kexec.c index ae3f0e6c70..2c4c079314 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -119,8 +119,6 @@ void machine_crash_kexec(void) image = &kexec_image[KEXEC_IMAGE_CRASH_BASE + pos]; machine_kexec(image); /* Does not return */ } - - while (1); /* No image available - just spin */ } static void do_crashdump_trigger(unsigned char key) -- 2.30.2